package com.inspur.incubator.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import com.inspur.incubator.common.tools.EncoderMd5;
import com.inspur.incubator.service.RoleService;
import com.inspur.incubator.service.loginService;
@Controller
@RequestMapping("/menhu")
public class MenhuController {


	EncoderMd5 md5 = new EncoderMd5();
	@Autowired
	loginService loginservice;
	@Autowired
	RoleService roleService;
	@RequestMapping(value = "/mainpage")
	public ModelAndView getIndex() {
		return new ModelAndView("index");
	}
	@RequestMapping(value = "/sc_map")
	public ModelAndView getMap() {
		return new ModelAndView("sc_map");
	}
	@RequestMapping(value = "/sc_news")
	public ModelAndView getNews() {
		return new ModelAndView("sc_news_information");
	}
	@RequestMapping(value = "/sc_news_detail")
	public ModelAndView getNewsDetail() {
		return new ModelAndView("sc_news_information_detail");
	}
	@RequestMapping(value = "/sc_service")
	public ModelAndView getService() {
		return new ModelAndView("sc_service");
	}
	@RequestMapping(value = "/userInfo")
	public ModelAndView getUserInfo() {
		return new ModelAndView("sc_userinformation");
	}
	@RequestMapping(value = "/achieve")
	public ModelAndView getAchieve() {
		return new ModelAndView("Achievements");
	}
	
}
